<?php
/**
 * CEOfox
 *
 * @copyright  Copyright 2011-2012 CEOfox, Inc.
 * @license    http://ceofox.com/pages/license
 * @version    $Id: tab.html.php 87083 2013-05-24 09:40:17 $
 * @author     CEOfox, Inc.
 */
?>
<?php 
defined('PHPFOX') or exit('NO DICE!');
?>
<script>$Core.loadStaticFile('{$sCoreUrl}module/follow/static/css/default/default/follow.css')</script>
<ul class="follow_profile" style="margin-top:1px;">
    <li><a href="#follower" onclick="$Core.follow.showSection('#follower', '{$sType}');" class="uppercase"><strong>{$iFollowers}</strong> {phrase var='follow.followers'}</a> </li>    
    <li><a href="#following" onclick="$Core.follow.showSection('#following', '{$sType}');" class="uppercase"><strong>{$iFollowing}</strong> {phrase var='follow.following'} </a></li>
    {if $bIsCurrentUser}
        <li><a href="#blocker" onclick="$Core.follow.showSection('#blocker', '{$sType}');" class="uppercase"><strong>{$iBlockers}</strong> {phrase var='follow.blockers'}</a></li>
    {/if}
    <div class="clear"></div>
</ul>

<a href="{url link='follow.pending'}" style="text-decoration: none;float: left;margin-bottom: -5px;margin-right: 0;margin-top: 10px;">
    <span  onclick="window.location.href = '{url link='follow.pending'}'" class="blockall follow-button" style="float:right; margin-bottom: 10px;">{phrase var='follow.pending_list'}</span >
</a>

{if $bIsCurrentUser == 1 and $bIsLogin}
    {if !$bIsBlockAll}

        <div class="block_all">
            <a href="{url link='follow.block' id='all' type=$sType oid=$aUser.user_id}"><span class="blockall follow-button" style="float: right;margin-bottom: -5px;margin-right: 0;margin-top: 10px;" onclick="return confirm('{phrase var='follow.are_you_sure_this_action_will_delete_all_your_follower'}');">{phrase var='follow.block_all'}</span></a>
        </div>
    {else}
        <div class="un_block_all">            
            <a href="{url link='follow.unblock' id='all' type=$sType oid=$aUser.user_id}"><span class="blockall follow-button" style="float: right;margin-bottom: -5px;margin-right: 0;margin-top: 10px;">{phrase var='follow.un_block_all'}</span></a>
        </div>
    {/if}
{/if}
<div class="clear"></div>